package com.chen.pspms.service;

import com.chen.pspms.entity.Holder;
import com.chen.pspms.utils.ApplicationException;

import java.util.List;

public interface HolderSercice {
    public Integer save(Holder holder) throws ApplicationException;
    public Integer delete(Integer id) throws ApplicationException;
    public Holder findyById(Integer id) throws ApplicationException;
    public Holder findyByName(String name) throws ApplicationException;
    public Integer update(Holder holder) throws ApplicationException;
    public List<Holder> findyAll() throws ApplicationException;
}
